import React, { PureComponent } from 'react'
import PropTypes from 'prop-types'
import styles from './Cell.css'


export default class extends PureComponent {
  static propTypes = {
    image: PropTypes.any,
    title: PropTypes.any,
    content: PropTypes.any
  }
  static defaultProps = {
    image: "#",
    title: 'hello',
    content: 'hello'
  }
  render() {
    const { image, title ,content} = this.props;
    return (
      <div className={styles.container}>
        <div className={styles.img}>
          <img src={image}/>
        </div>
        <div className={styles.title}>{title}</div>
        <div className={styles.content}>{content}</div>
      </div>
    )
  }
}
